﻿namespace Shop.Model.Dto.CAP
{
    /// <summary>
    /// 订单商品信息
    /// </summary>
    public class OrderGoodsDto
    {
        /// <summary>
        /// 
        /// </summary>
        public long GoodsId { get; set; }

        /// <summary>
        /// 规格ID
        /// </summary>
        public long SizeId { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 单量
        /// </summary>
        public int Points { get; set; }

        /// <summary>
        /// 商品价格
        /// </summary>
        public List<PriceDto> Prices { get; set; }

    }
    /// <summary>
    /// 商品价格
    /// </summary>
    public class PriceDto
    {
        /// <summary>
        /// 用户等级
        /// </summary>
        public int UserLevel { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public Decimal Price { get; set; }
    }
}
